package com.syn.gmail.product.feign;

import com.syn.common.utils.R;
import com.syn.gmail.product.to.es.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gmail-search")
public interface SearchFeignService {
    @PostMapping("/serach/save/product")
    R savaProduct(@RequestBody List<SkuEsModel> skuEsModelList);
}
